import React from 'react';
import {render} from 'enzyme';
import {expect} from 'chai';
import Nav from "../scripts/nav/nav";

describe('Enzyme Render', function () {
    it('h1 should not swallow', function () {
        let nav = render(<Nav />);
        expect(nav.find('a').first().text()).to.equal("swallow");
    });
});
